<style>
  /* Tamanios y posiciones */
  div.zone {
    <?php if ($mode=='edit') : ?>
    padding: 15px; /* Algo de pad para ver la zona */
    border: 1px dashed #cfcfcf;
    <?php endif; ?>
  }
  <?php if ($mode=='show') : ?>
    div#topmenu {
      padding: 0px;
      border: 0px;
    }
  <?php endif; ?>
</style>

<?php
YuppLoader::load('apps.cms2.helpers', 'CmsHelpers');
echo CmsHelpers::navbar(array('page'=>$page));
?>

<div id="top" class="zone"><?php echo $top; ?></div>
<div id="body">
  <div id="topmenu" class="zone">
    <?php echo $topmenu; ?>
  </div>
  <div id="content" class="zone"><?php echo $content; ?></div>
</div>
<div id="a3cols">
  <div id="col1" class="zone"><?php echo $col1; ?></div>
  <div id="col2" class="zone"><?php echo $col2; ?></div>
  <div id="col3" class="zone"><?php echo $col3; ?></div>
</div>
<div id="footer"></div>

<?php
echo CmsHelpers::subpages(array('page'=>$page));
?>